package com.frxuexi.mine

import com.frxuexi.mine.entity.User

sealed class UserState {
    data object onRegisterSuccess:UserState()
    data class onLoginSuccess(val user: User):UserState()

    data object onError:UserState()
    data object onLoading:UserState()
}